﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EmpItemChangeAdd.aspx.cs" Inherits="UI.ModSalary.EmpItemChangeAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>手工录入工资项更改</title>
     <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
       <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
            
    <style type="text/css">
        td
        {
            height: 27px;
        }
    </style>
</head>
<body onload="window.document.forms[0].txtEmpCode.focus();">
    <form id="form1" runat="server">
    <div class="pagetopright"><a href="EmpItemChangeBatch.aspx">批量修改</a></div>
    <br />
  <p style="text-align: center; font-size: large;">
        <strong>手工录入工资项更改 </strong></p>
    <br />
    <table style="width: 75%;"  align="center" class="td">
            <tr>
            <td>
                工资帐套:</td>
            <td>
               

                <asp:DropDownList 
                     ID="ddlSetsID" runat="server" CssClass="InputCss" AutoPostBack="True" 
                     onselectedindexchanged="ddlSetsID_SelectedIndexChanged">
                    </asp:DropDownList>

            </td>
            <td>
                工资项:</td>
            <td>
               
            <asp:DropDownList ID="ddlItem" runat="server" TabIndex="9" 
                    onkeydown="if(event.keyCode==13)event.keyCode=9" >
            </asp:DropDownList>
                </td>
           
        </tr>
        <tr>
            <td>
                员工编号:
            </td>
            <td>
                <asp:TextBox ID="txtEmpCode" runat="server" CssClass="InputCss" Width="100px"
                    AutoPostBack="True" OnTextChanged="txtEmpCode_TextChanged" TabIndex="0"></asp:TextBox>
                    <a href="javascript:ShowLink('ZipSeaForIn.aspx',880,550)"><img src="../Images/Search.gif" alt="搜索" width="27" height="12" border="0" /></a>
                <asp:RequiredFieldValidator ID="rfvEmpCode" runat="server" 
                    ControlToValidate="txtEmpCode" ErrorMessage="*必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
             <td>
                员工姓名:
            </td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="1"></asp:TextBox>
            </td>
            </tr>
            <tr>
            <td>
                部门:
            </td>
            <td>
                <asp:TextBox ID="txtDeptName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="2"></asp:TextBox>
            </td>
            <td>
                &nbsp;职位:</td>
            <td>
                <asp:TextBox ID="txtDutyName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="4"></asp:TextBox>
            </td>
        </tr>
        <tr>
           
            <td>
                &nbsp;身份证:</td>
            <td>
                <asp:TextBox ID="txtZipCode" runat="server" CssClass="InputCss" Width="100px" onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="6"></asp:TextBox>
            </td>
            <td>
                &nbsp;在职状态:</td>
            <td>
                <asp:TextBox ID="txtStateName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="8"></asp:TextBox>
            </td>
        </tr>
            <tr>
           
            <td>
                &nbsp;变动内容:</td>
            <td>
               
            <asp:DropDownList ID="ddlChangeTypeName" runat="server" TabIndex="9" onkeydown="if(event.keyCode==13)event.keyCode=9" >
            </asp:DropDownList>
            </td>
            <td>
                变动时间:</td>
            <td>
                <asp:TextBox ID="txtChangeTime" runat="server" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" 
                    CssClass="InputCss" Width="100px" onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="10"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvTime" runat="server" 
                    ControlToValidate="txtChangeTime" ErrorMessage="*必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
         <td>
                &nbsp;变动前:</td>
            <td>
                <asp:TextBox ID="txtOldAllowance" runat="server" CssClass="InputCss" Width="80px"
                        TabIndex="11" MaxLength="8">0</asp:TextBox>
            </td>
             <td>
                
                 变动后</td>
             <td>
                <asp:TextBox ID="txtNewAllowance" runat="server" CssClass="InputCss" Width="80px"
                        TabIndex="11" MaxLength="8">0</asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                备注:
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="420px" TabIndex="12"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    Rows="3" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
    </table>
    <p style="text-align: center;">
        <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="12" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" 
            OnClick="btnUpdate_Click" TabIndex="13" style="height: 21px" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" 
            OnClick="btnDelete_Click"  OnClientClick="return confirm('确定要删除吗?\n');" TabIndex="14" />
        &nbsp;<asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="关闭" 
            TabIndex="17" CausesValidation="False" />
    </p>
    </form>
  
</body>
</html>
